Skip to content

detectors/openshift: add Openshift resource detector - #9499

Open
paulojmdias wants to merge 2 commits into
open-telemetry:mainfrom
paulojmdias:feat/8955
Open

detectors/openshift: add Openshift resource detector#9499
paulojmdias wants to merge 2 commits into
open-telemetry:mainfrom
paulojmdias:feat/8955

Conversation

@paulojmdias

@paulojmdias paulojmdias commented Aug 17, 2026

Copy link
Copy Markdown
Member

Ports the Openshift resource detector from processor/resourcedetectionprocessor/internal/openshift in
opentelemetry-collector-contrib to a new standalone Go module go.opentelemetry.io/contrib/detectors/openshift.

Also registers the detector in detectors/autodetect as IDOpenShift ("openshift").

I'm proposing to be a codeowner of this detector as I am currently on the collector-contrib side.

Fixes #8955
Relates #8940

@paulojmdias
paulojmdias marked this pull request as draft August 17, 2026 20:53
@codecov

codecov Bot commented Aug 17, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 93.44262% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.5%. Comparing base (b0f0785) to head (cb20ef8).
⚠️ Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
detectors/openshift/openshift.go 93.3% 7 Missing and 1 partial ⚠️
Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##            main   #9499     +/-   ##
=======================================
- Coverage   84.5%   84.5%   -0.1%     
=======================================
  Files        203     204      +1     
  Lines      16805   16927    +122     
=======================================
+ Hits       14215   14318    +103     
- Misses      2110    2128     +18     
- Partials     480     481      +1     
Files with missing lines Coverage Δ
detectors/autodetect/autodetect.go 87.1% <100.0%> (+0.1%) ⬆️
detectors/openshift/openshift.go 93.3% <93.3%> (ø)

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@paulojmdias
paulojmdias marked this pull request as ready for review August 17, 2026 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[detectors/openshift] Contribute openshift detector from resourcedetectionprocessor

1 participant